﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Triunfadores.BusinessEntities;
using Triunfadores.Repository.Service;

namespace Triunfadores.Repository
{
    public class UbigeoRepository:MasterRepository,IUbigeoRepository
    {
        public IEnumerable<Ubigeo> GetAllUbigeos()
        {
            var query = from u in Context.Ubigeos
                orderby u.NombreCompleto
                select u;

            return query.ToList();
        }
    }
}
